Optimal. Leaf size=90 \[ -\frac{8 x^2+7}{39 x^2 \sqrt{x^4+5 x^2+3}}-\frac{2 \sqrt{x^4+5 x^2+3}}{39 x^2}+\frac{\tanh ^{-1}\left (\frac{5 x^2+6}{2 \sqrt{3} \sqrt{x^4+5 x^2+3}}\right )}{3 \sqrt{3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0707172, antiderivative size = 90, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {1251, 822, 806, 724, 206} \[ -\frac{8 x^2+7}{39 x^2 \sqrt{x^4+5 x^2+3}}-\frac{2 \sqrt{x^4+5 x^2+3}}{39 x^2}+\frac{\tanh ^{-1}\left (\frac{5 x^2+6}{2 \sqrt{3} \sqrt{x^4+5 x^2+3}}\right )}{3 \sqrt{3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1251
Rule 822
Rule 806
Rule 724
Rule 206
Rubi steps
\begin{align*} \int \frac{2+3 x^2}{x^3 \left (3+5 x^2+x^4\right )^{3/2}} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{2+3 x}{x^2 \left (3+5 x+x^2\right )^{3/2}} \, dx,x,x^2\right )\\ &=-\frac{7+8 x^2}{39 x^2 \sqrt{3+5 x^2+x^4}}-\frac{1}{39} \operatorname{Subst}\left (\int \frac{-6+8 x}{x^2 \sqrt{3+5 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac{7+8 x^2}{39 x^2 \sqrt{3+5 x^2+x^4}}-\frac{2 \sqrt{3+5 x^2+x^4}}{39 x^2}-\frac{1}{3} \operatorname{Subst}\left (\int \frac{1}{x \sqrt{3+5 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac{7+8 x^2}{39 x^2 \sqrt{3+5 x^2+x^4}}-\frac{2 \sqrt{3+5 x^2+x^4}}{39 x^2}+\frac{2}{3} \operatorname{Subst}\left (\int \frac{1}{12-x^2} \, dx,x,\frac{6+5 x^2}{\sqrt{3+5 x^2+x^4}}\right )\\ &=-\frac{7+8 x^2}{39 x^2 \sqrt{3+5 x^2+x^4}}-\frac{2 \sqrt{3+5 x^2+x^4}}{39 x^2}+\frac{\tanh ^{-1}\left (\frac{6+5 x^2}{2 \sqrt{3} \sqrt{3+5 x^2+x^4}}\right )}{3 \sqrt{3}}\\ \end{align*}
Mathematica [A] time = 0.0183794, size = 88, normalized size = 0.98 \[ \frac{-6 x^4-54 x^2+13 \sqrt{3} \sqrt{x^4+5 x^2+3} x^2 \tanh ^{-1}\left (\frac{5 x^2+6}{2 \sqrt{3} \sqrt{x^4+5 x^2+3}}\right )-39}{117 x^2 \sqrt{x^4+5 x^2+3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 84, normalized size = 0.9 \begin{align*} -{\frac{1}{3}{\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}}}}-{\frac{2\,{x}^{2}+5}{39}{\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}}}}+{\frac{\sqrt{3}}{9}{\it Artanh} \left ({\frac{ \left ( 5\,{x}^{2}+6 \right ) \sqrt{3}}{6}{\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}}}} \right ) }-{\frac{1}{3\,{x}^{2}}{\frac{1}{\sqrt{{x}^{4}+5\,{x}^{2}+3}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.66629, size = 111, normalized size = 1.23 \begin{align*} -\frac{2 \, x^{2}}{39 \, \sqrt{x^{4} + 5 \, x^{2} + 3}} + \frac{1}{9} \, \sqrt{3} \log \left (\frac{2 \, \sqrt{3} \sqrt{x^{4} + 5 \, x^{2} + 3}}{x^{2}} + \frac{6}{x^{2}} + 5\right ) - \frac{6}{13 \, \sqrt{x^{4} + 5 \, x^{2} + 3}} - \frac{1}{3 \, \sqrt{x^{4} + 5 \, x^{2} + 3} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.349, size = 308, normalized size = 3.42 \begin{align*} -\frac{6 \, x^{6} + 30 \, x^{4} - 13 \, \sqrt{3}{\left (x^{6} + 5 \, x^{4} + 3 \, x^{2}\right )} \log \left (\frac{25 \, x^{2} + 2 \, \sqrt{3}{\left (5 \, x^{2} + 6\right )} + 2 \, \sqrt{x^{4} + 5 \, x^{2} + 3}{\left (5 \, \sqrt{3} + 6\right )} + 30}{x^{2}}\right ) + 18 \, x^{2} + 3 \,{\left (2 \, x^{4} + 18 \, x^{2} + 13\right )} \sqrt{x^{4} + 5 \, x^{2} + 3}}{117 \,{\left (x^{6} + 5 \, x^{4} + 3 \, x^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{3 x^{2} + 2}{x^{3} \left (x^{4} + 5 x^{2} + 3\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{3 \, x^{2} + 2}{{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac{3}{2}} x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]